package com.to;

import lombok.Data;
import lombok.Getter;

import java.nio.ByteBuffer;
import java.nio.channels.FileChannel;

/**
 * @author 罗俊华
 * @date 2021/8/24 - 1:24 下午
 */
@Getter
public class BufferAndChannelTo {

    private final ByteBuffer byteBuffer;

    private final FileChannel fileChannel;

    public BufferAndChannelTo(ByteBuffer byteBuffer, FileChannel fileChannel) {
        this.byteBuffer = byteBuffer;
        this.fileChannel = fileChannel;
    }
}
